package com.wiegand.fonts {
	import flash.display.Sprite;
	import flash.text.AntiAliasType;
	import flash.text.Font;
	import flash.text.TextField;
	import flash.text.TextFieldAutoSize;
	import flash.text.TextFormat;

	public class Verdana extends Sprite 
	{

		[Embed( source = "../../../../fonts/Verdana.ttf", fontName="Verdana", mimeType = "application/x-font" )]
		public static var Verdana:Class;
 
		public function Verdana(){	
			
			Font.registerFont( Verdana );

			var tf:TextField = new TextField();
			
			var format : TextFormat = new TextFormat("Verdana", 20, 0xff0000  );
			
			tf.defaultTextFormat = format;
			tf.embedFonts = true;
			tf.antiAliasType = AntiAliasType.NORMAL;
			tf.autoSize = TextFieldAutoSize.LEFT;
			tf.border = true;
			tf.text = "Verdana \nScott was here\nScott was here too\nblah scott...:;*&^% ";
			tf.rotation = 15;
			
			tf.alpha = .5;

			tf.x = 200;
			tf.y = 200;

           	addChild(tf);			
			
		}
		
	}
}